package com.jiudengnile.liushu.common.request;

public class RequestUserHolder {
	
	private static ThreadLocal<RequestUser> holder = new ThreadLocal<RequestUser>();
	
	public static RequestUser getRequestUser() {
		return holder.get();
	}
	
	public static void setRequestUser(RequestUser requestUser) {
		holder.set(requestUser);
	}
	
	public static void remove() {
		holder.remove();
	}

}
